<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>隐藏元素</title>
		<script src="../js/jquery-3.4.1.min.js"></script>
		<script>
			$(function(){
				alert("1");
				$("body :hidden").show();
				
				$("#btn").click(function(){
					$(":visible:not(input)").hide();
				});
			});
		</script>
	</head>
	<body>
		<h3 style="display: none;">京东的广告</h3>
		<div style="display: none;">
			<img src="../day4/imgs/banner.png"/>
		</div>
		<input type="button" id="btn" value="click"/>
	</body>
</html>
